<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增科目映射')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-yonbipKmys-add">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">科目名称：</label>
                    <div class="col-sm-8">
                        <input name="kmmc" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否末级：</label>
                    <div class="col-sm-8">
                        <input name="ismj" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助类型名称：</label>
                    <div class="col-sm-8">
                        <input name="fzlxmc" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">科目转辅助的：</label>
                    <div class="col-sm-8">
                        <input name="kmzfz" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">标准化科目编码：</label>
                    <div class="col-sm-8">
                        <input name="bzhkmbm" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">标准化科目名称：</label>
                    <div class="col-sm-8">
                        <input name="bzhkmmc" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">科目所需辅助项：</label>
                    <div class="col-sm-8">
                        <input name="kmsxfzx" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算项目1：</label>
                    <div class="col-sm-8">
                        <input name="fzhsxm1" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算档案1：</label>
                    <div class="col-sm-8">
                        <input name="fzhsda1" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算项目2：</label>
                    <div class="col-sm-8">
                        <input name="fzhsxm2" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算档案2：</label>
                    <div class="col-sm-8">
                        <input name="fzhsda2" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算项目3：</label>
                    <div class="col-sm-8">
                        <input name="fzhsxm3" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算档案3：</label>
                    <div class="col-sm-8">
                        <input name="fzhsda3" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算项目4：</label>
                    <div class="col-sm-8">
                        <input name="fzhsxm4" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算档案4：</label>
                    <div class="col-sm-8">
                        <input name="fzhsda4" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助项追加：</label>
                    <div class="col-sm-8">
                        <input name="mark" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/yonbipKmys"
        $("#form-yonbipKmys-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-yonbipKmys-add').serialize());
            }
        }
    </script>
</body>
</html>